

/**
 
* @package: BrickCAD
 * @className: AppFrame.java
 * @package: default
 * @author: Sean , Jack, Lester, Erik Telstad
 * @date_created: November 16, 2009
 * @last_motified: November 16, 2009
 * 
 * 
 * 
 */
//import java.util.Stack;

public abstract class Command {
	protected Brick model = BrickView.model;
	Memento aMemento;
/*	public Command(Brick theModel) {
		model = theModel;
	}
*/	
	abstract void execute();
	
	public void undo(){
		//System.out.println("Start");
//		model.restore((Brick.BrickMemento) aMemento);
		model.restore(aMemento);
		//System.out.println("End");
	}
}
